package com.zangs.emqx_expand.common.core.domain;

import java.util.ArrayList;
import java.util.List;

public class TreeNode {

    public TreeNode(String label) {
        this.label = label;
        this.children = new ArrayList<>();
    }
    private String id;
   private String label;
    private Boolean checked;

    private List<TreeNode> children;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public List<TreeNode> getChildren() {
        return children;
    }

    public void setChildren(List<TreeNode> children) {
        this.children = children;
    }
}
